import { request } from "@/utils/axios"

/**
 * 老师登录
 */
export function TecLoginApi(data) {
    return request(
        {
            url: "/gradingTeacher/login",
            method: "POST",
            data: data
        }
    );
}

/**
 * 获取教师详情
 */
export function GradingTeacherApi(id) {
    return request(
        {
            url: `/gradingTeacher/info?gradingTeacherId=${id}`,
            method: "GET",
        }
    );
}
